﻿namespace TestTool.Proxies.Event
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.Xml;
    using System.Xml.Serialization;

    [MessageContract(WrapperName="PullMessages", WrapperNamespace="http://www.onvif.org/ver10/events/wsdl", IsWrapped=true), DebuggerStepThrough, GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class PullMessagesRequest
    {
        [XmlAnyElement, MessageBodyMember(Namespace="", Order=2)]
        public XmlElement[] Any;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/events/wsdl", Order=1)]
        public int MessageLimit;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/events/wsdl", Order=0), XmlElement(DataType="duration")]
        public string Timeout;

        public PullMessagesRequest()
        {
        }

        public PullMessagesRequest(string Timeout, int MessageLimit, XmlElement[] Any)
        {
            this.Timeout = Timeout;
            this.MessageLimit = MessageLimit;
            this.Any = Any;
        }
    }
}

